package com.margo.project.status;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/enum")
public class StatusEnumController {
	private Logger logger=LoggerFactory.getLogger(this.getClass());

	@ResponseBody
	@RequestMapping("/success")
	public StatusEnum ss(HttpServletRequest request,
			HttpServletResponse response) {
		logger.info(request.getRequestURI().toString());
		return StatusEnum.SUCCESS;
	}
}
